package Snake.phototool;

import javax.swing.*;
import java.net.URL;

public class Data {

    //头部
    public static URL upURl = Data.class.getResource("/statics/up.png");
    public static URL downURl = Data.class.getResource("/statics/down.png");
    public static URL leftURl = Data.class.getResource("/statics/left.png");
    public static URL rightURl = Data.class.getResource("/statics/right.png");
    public static ImageIcon up = new ImageIcon(upURl);
    public static ImageIcon down = new ImageIcon(downURl);
    public static ImageIcon left = new ImageIcon(leftURl);
    public static ImageIcon right = new ImageIcon(rightURl);

    //身体
    public static URL bodyURL = Data.class.getResource("/statics/body1.png");
    public static ImageIcon body = new ImageIcon(bodyURL);

    //食物
    public static URL foodURL = Data.class.getResource("/statics/food.png");
    public static ImageIcon food = new ImageIcon(foodURL);

}
